//
//  LogManager.h
//  project
//
//  Created by 圆圆陈 on 2018/4/2.
//  Copyright © 2018年 黄建华. All rights reserved.
//

#import <Foundation/Foundation.h>
#define LogWrite(header,content,footer) [[LogManager sharedInstance] writeWithHeader:header WithContent:content WithFooter:footer];
#define ErrorTimes [LogManager sharedInstance].errorTimes
@interface LogManager : NSObject
@property(nonatomic,assign)NSInteger breakTimes;
@property(nonatomic,assign)NSInteger errorTimes;
// 日志的目录路径
@property (nonatomic,copy) NSString* basePath;
+ (instancetype) sharedInstance;
-(void)writeWithHeader:(NSString *)header WithContent:(NSString *)content WithFooter:(NSString *)footer;
@end
